import store from "@/store"

const pathUtils = {
    // 设置访问到确认订单页面的前路由
    setOrderConfirmPrevRoute(prevRoute) {
        store.commit("pathModule/setOrderConfirmPrevRoute", prevRoute);
    },
    // 获取访问到确认订单页面的前路由
    getOrderConfirmPrevRoute() {
        return store.getters["pathModule/getOrderConfirmPrevRoute"];
    }
}

export default pathUtils;